﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="CoreInmobiliario.Frontend.WebForm2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
 <link rel="Stylesheet" type="text/css" href="Css/uploadify.css" />
 <script type="text/javascript" src="Js/jquery-1.3.2.min.js"></script>
 <script type="text/javascript" src="Js/jquery.uploadify.js"></script>
</head>
<body>
        <form id="form1" runat="server">
            <a href="javascript:$('#<%=FileUpload1.ClientID%>').fileUploadStart()">Start Upload</a>&nbsp; 
           |&nbsp;<a href="javascript:$('#<%=FileUpload1.ClientID%>').fileUploadClearQueue()">Clear</a> 
            <div style = "padding:40px">
                <asp:FileUpload ID="FileUpload1" runat="server" />
            </div>
        </form>
</body>
</html>
<script type = "text/javascript">
    $(window).load(
    function () {
        $("#<%=FileUpload1.ClientID%>").fileUpload({
            'uploader': 'Js/uploader.swf',
            'cancelImg': 'Images/Style/cancel.png',
            'buttonText': 'Browse Files',
            'script': 'Upload.ashx',
            'folder': 'Images/Propiedades/Temp',
            'fileDesc': 'Image Files',
            'fileExt': '*.jpg;*.jpeg;*.png',
            'multi': true,
            'auto': false
        });
    }
);
</script> 


